"""
name(姓名):郝朝帅
data(时间):2020/4/26 14:26
affair(事件):
"""

import requests

res=requests.get('https://aip.baidubce.com/oauth/2.0/token?grant_type=client_credentials&client_id=zi42QPtmHzXzAxQmI52G2PGg&client_secret=ssmC754g7E9R7qGd7Kqmi5GHy0cvjk6t')
print(res.json()['access_token'])